import com.oracle.webservices.internal.api.databinding.DatabindingMode;

import java.lang.reflect.Array;


public class Student {

    private String name;
    private int score;

    public Student(String name, int score) {
        this.name = name;
        this.score = score;
    }

    @Override
    public String toString() {
        return String.format("Student [name %s; score %s]\n", name, score);
    }


    public static void main(String[] args) {
        ArrayMy<Student> arr=new ArrayMy<>();

        arr.add(0,new Student("张三",100));
        arr.add(0,new Student("李四",90));
        arr.add(0,new Student("王五",80));

        System.out.println(arr);
    }
}
